console.log("Hello from .js")

  document.addEventListener('DOMContentLoaded', (event) => {  
    const products = document.querySelectorAll('.productsLine');  
    
 
    products.forEach(product => {   
      if (product && product.querySelector('.clickButton')) {  
        product.querySelector('.clickButton').addEventListener('click', () => {  
          const content = product.querySelector('.expandedContent');   
          if (content.style.display === 'none') {  
            content.style.display = 'block';  
            product.querySelector('.clickButton').innerText = 'Collapse Information';  
          } else {  
            content.style.display = 'none';  
            product.querySelector('.clickButton').innerText = 'More Information';  
          }  
        });  
      }  
    });  
  });